<?php
/*
 * @Author: 哲学家乔布斯 <wuyangii@qq.com>
 * @Date: 2022-11-01 19:44:03
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2022-11-01 20:01:20
 * @Descripttion: 
 */

namespace app\common\validate;

use think\Validate;

class UserAddress extends Validate
{
    protected $rule = [
        "name" => "require",
        "phone" => "require",
        "province" => "require",
        "city" => "require",
        "area" => "require",
        "address" => "require"
    ];

    protected $message = [
        "name.require" => "请输入收货人姓名",
        "phone.require" => "请输入手机号码",
        // "phone.phone" => "请输入正确的手机号码",
        "province.require" => "请选择省",
        "city.require" => "请选择市",
        "area.require" => "请选择区/县",
        "address.require" => "请填写收货地址",
    ];
}
